package com.wuchao.spring.tx;

import com.wuchao.spring.ioc.A;
import com.wuchao.spring.ioc.TestSpring;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author wuchao66
 * @Date 2023/9/21 15:02
 * @PackageName:com.wuchao.spring.test
 * @ClassName: Test
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class Test1 {
    public static void main(String[] args) {

        ClassPathXmlApplicationContext cpac =
                new ClassPathXmlApplicationContext("ApplicationContextProMax.xml");
        ((T)cpac.getBean("t")).showtx();


    }
}
